package com.sc.auction.pay.feign;

import com.sc.auction.common.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Service
@FeignClient(value = "auction-order")
public interface OrderFeignService {

    @PutMapping(value = "/order/order/updateOrderStatusByOrderNo")
    public R updateOrderStatusByOrderNo(@RequestParam("orderno") String orderno, @RequestParam("status") Integer status);
}
